[DO-NOT-MERGE] Test parallel mvn T option - #6864
Draft
tkobayas wants to merge 1 commit into
Draft
Conversation
Contributor
Author
|
Baseline: Without
|
Contributor
Author
|
port 8081 conflict. -> should be fixed by random port |
Contributor
Author
-> We shouldn't fully overwrite with mvn option
because a quarkus project has an implicit dependency to -> Split into 2 phases. 1) install |
Contributor
Author
|
Hit port 8081 conflict, even though setting The issue is reported and fixed for quarkus 3.31.0, so this CI (quarkus 3.27.4.1) is affected. |
tkobayas
force-pushed
the
parallel-mvn-T
branch
from
August 6, 2026 07:52
3d655d8 to
731d7df
Compare
Two-phase build with direct goal invocation: - Phase 1: sequential install (-DskipTests) for correct Quarkus -deployment jar ordering - Phase 2: direct goal invocation (-T 2) for parallel test execution mvn -T 2 surefire:test failsafe:integration-test failsafe:verify Skips all lifecycle phases (compile, package, quarkus:build) — just runs tests. Port collision fix: - -Dquarkus.http.test-port=0 on command line for random test ports - quarkus.http.test-port=0 in application.properties for modules with @testprofile (workaround for Quarkus bug #51745: port reset on @testprofile restart) Disabled flaky tests under -T 2 resource contention: - QuarkusEventThreadPoolTest, QuarkusTransactionRollbackTest - ProcessDataIndexPostgreSqlIT, VertxJobSchedulerTest.testExactTime - JDBCOptimisticLockingIT, KSinkInjectionHealthCheckDisabledIT - OptaPlannerDevUITest (DevUI port mismatch with random ports) - MongoDB integration test module (forked process hang) Disabled non-ci workflows with if: false.
tkobayas
force-pushed
the
parallel-mvn-T
branch
from
August 7, 2026 09:09
859275a to
590edbd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Most of tests run with
forkCount = 1. Some intense tests (e.g,test-compiler-integration) run withforkCount = 2.If we set
-T 2formvn, we will have separated JVMs from 2 to 4 in parallel for test. They are isolated JVMs, so there should be no concurrency issue like system property.https://docs.github.com/en/actions/reference/runners/github-hosted-runners?utm_source=chatgpt.com
ubuntu-latestrunner : 4 cores, 16GBwindows-latestrunner : 4 cores, 16GBmacos-latestrunner : 3 cores, 7GB